package com.googlecode.flair.builder
{
	import mx.collections.ArrayCollection;
	
	[Bindable]
	public class OptionsFactory
	{
		
		[Embed(source="/assets/icons/text_align_left.png")]
		private var textAlignLeft : Class;
		[Embed(source="/assets/icons/text_align_center.png")]
		private var textAlignCenter : Class;
		[Embed(source="/assets/icons/text_align_right.png")]
		private var textAlignRight : Class;
		
		[Embed(source="/assets/icons/left.png")]
		private var alignLeft : Class;
		[Embed(source="/assets/icons/center.png")]
		private var alignCenter : Class;
		[Embed(source="/assets/icons/right.png")]
		private var alignRight : Class;
		
		[Embed(source="/assets/icons/bottom.png")]
		private var alignBottom : Class;
		[Embed(source="/assets/icons/middle.png")]
		private var alignMiddle : Class;
		[Embed(source="/assets/icons/top.png")]
		private var alignTop : Class;
		
		public static var instance : OptionsFactory = new OptionsFactory();
		
		public var borderStyles : ArrayCollection = new ArrayCollection(['inset', 'outset', 'solid', 'none']);
		
		public var verticalDirections : ArrayCollection = new ArrayCollection(['bottom','middle','top'])
		public var verticalAlignOptions : ArrayCollection = new ArrayCollection([
						{icon : alignBottom, toolTip : "Align Bottom"},
						{icon : alignMiddle, toolTip : "Align Middle"},
						{icon : alignTop, toolTip : "Align Top"}
					]);
		
		
		public var horizontalDirections : ArrayCollection = new ArrayCollection(['left','center','right']);
		public var horizontalAlignOptions : ArrayCollection = new ArrayCollection([
						{icon : alignLeft, toolTip : "Align Left"},
						{icon : alignCenter, toolTip : "Align Center"},
						{icon : alignRight, toolTip : "Align Right"}
					]);
		public var textAlignOptions : ArrayCollection = new ArrayCollection([
						{icon : textAlignLeft, toolTip : "Align Left"},
						{icon : textAlignCenter, toolTip : "Align Center"},
						{icon : textAlignRight, toolTip : "Align Right"}
					]);
	}
}